package com.kedacom.ctsp.example.authz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * 应用启动类
 *
 * @author xuwei
 * @create 2017-11-29 15:45
 **/
@SpringBootApplication
public class AuthzApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(AuthzApplication.class);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        setRegisterErrorPageFilter(false);
        return application.sources(AuthzApplication.class);
    }

}
